<?php
require_once dirname(__FILE__) . "/class.renderer_base.php";

/**
 * @package EDO
 * @subpackage UI
 *
 */
class renderer_relation_manytomany extends renderer_base
{
	
	/**
	 * LEAD Application object
	 *
	 * @var Application
	 */
	protected $lead;
	protected $path;
		

		
	function render($fObject, $renderMode = 'view', $config = array())
	{
				
		$this->lead->viewer->assign('fObject', $fObject);
		
		$this->lead->viewer->assign('fSelected', $fObject->getValueArray());
		return $this->lead->viewer->fetch("{$this->path}/relation_manytomany/{$renderMode}.tpl");
	}
	
	
	
	
	
	
}
?>